package com.zxw.order.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zxw.common.core.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author Xuewei.Zhang
 * @since 2022-01-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ec_order")
public class Order extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 订单金额
     */
    private BigDecimal orderPrice;

    /**
     * 订单利润
     */
    private BigDecimal orderProfits;

    /**
     * 支付金额
     */
    private BigDecimal paidMoney;

    private BigDecimal needPayMoney;

    /**
     * 损失金额
     */
    private BigDecimal lossPrice;

    private BigDecimal budgetPrice;

    private BigDecimal finalPrice;

    private BigDecimal sumAppliedPrice;

    private BigDecimal sumUsedPrice;

    private Float costMoney;

    private Float returnPrice;

    private Float returnNum;

    private String refundState;

    private String returnGoods;

    private String examine;

    /**
     * 财务确认状态
     */
    private String financialAffirmState;

    /**
     * 付款状态
     */
    private String payState;

    private String orderTitle;

    private String approvalResult;

    private Long flowTypeId;

    private Integer shouldInvoiceNum;

    private Integer hadInvoiceNum;

    private Integer notInvoiceNum;

    private Integer orderType;

    private String fahuo;

    private String orderIdNumber;

    private Long companyId;

    private LocalDateTime orderTime;

    private String customerPhone;

    private String customer;

    /**
     * 发票钱固定字段
     */
    private Float invoiceMoney;

    private String flowTypeName;

    private String oVarchar1;

    private String oVarchar2;

    private String oVarchar3;

    private String oVarchar4;

    private String oVarchar5;

    private String oVarchar6;

    private String oVarchar7;

    private String oVarchar8;

    private String oVarchar9;

    private String oVarchar10;

    private String oVarchar11;

    private String oVarchar12;

    private String oVarchar13;

    private String oVarchar14;

    private String oVarchar15;

    private String oVarchar16;

    private String oVarchar17;

    private Float oFloat1;

    private Float oFloat2;

    private Float oFloat3;

    private Float oFloat4;

    private Float oFloat5;

    private Float oFloat6;

    private Float oFloat7;

    private Float oFloat8;

    private Float oFloat9;

    private Float oFloat10;

    private LocalDateTime oDate1;

    private LocalDateTime oDate2;

    private LocalDateTime oDate3;


}
